import request from "@/utils/request"

/**
 * 获取首页数据
 * @returns {AxiosPromise}
 */
export const getHomeData = () => {
  return request({
    url: '/home/data',
    method: 'GET'
  })
}

/**
 * 获取通知消息
 * @returns {AxiosPromise}
 */
export const getMessageList = () => {
  return request({
    url: '/home/notice',
    method: 'GET'
  })
}
